package com.rpc.example.service;

import com.rpc.example.annotation.RpcMethod;
import com.rpc.example.annotation.RpcRemoteService;
import com.rpc.example.api.IhelloService;

@RpcRemoteService
public class HelloServiceImpl implements IhelloService {
    @Override
    @RpcMethod
    public String saveHello(Long id) {
        return "hello word ! " + id;
    }
}
